/*     */ package com.hp.bon.sgw.util;
/*     */ 
/*     */ import java.io.PrintStream;
/*     */ import javax.xml.stream.EventFilter;
/*     */ import javax.xml.stream.XMLStreamReader;
/*     */ import javax.xml.stream.events.XMLEvent;
/*     */ 
/*     */ class DefaultXMLEventFilter
/*     */   implements EventFilter
/*     */ {
/*     */   public boolean accept(XMLStreamReader reader)
/*     */   {
/* 692 */     System.out.println("event :" + reader.getEventType());
/* 693 */     if ((!reader.isStartElement()) && (!reader.isEndElement()))
/*     */     {
/* 695 */       return false;
/*     */     }
/* 697 */     if (reader.getEventType() == 5) {
/* 698 */       System.out.println("commment :" + reader.getText());
/* 699 */       return false;
/*     */     }
/* 701 */     return true;
/*     */   }
/*     */ 
/*     */   public boolean accept(XMLEvent event)
/*     */   {
/* 707 */     return event.getEventType() != 5;
/*     */   }
/*     */ }

/* Location:           C:\Users\think\Desktop\sgw_2.1.jar
 * Qualified Name:     com.hp.bon.sgw.util.DefaultXMLEventFilter
 * JD-Core Version:    0.6.1
 */